 <script id="listTpl" type="text/template">
 <% _.each(res.group,function(group_){ %>
		<% if(group_.group_id!=0){ %>
				<tbody> 
					  <tr>
						<td>
							<div class="tdLine">
								<span class="ticTypeToggleBtn" group="<%=group_.group_id%>"><%=group_.group_name%>
									<a class="iconfont down" href="javascript:void(0)">&#xe673;</a>
									<a class="iconfont up" href="javascript:void(0)">&#xe695;</a>
								</span>
								<div class="rtCon">
									<span class="suJun">默认结算价：供货价+<em class="su_<%=group_.group_id%>"><%if(group_.price==null){%>0<%}else{ %><%=group_.price-group_.supply_price%><%} %></em>元</span>
									<input class="ui-textInp ui-radius shadow w80 ml5 group_select" pa="1" group_id="<%=group_.group_id%>" type="text" js="<%if(group_.price==null){%>-1<%}else{ %><%=group_.price%><%} %>" value="<%if(group_.price==null){%><%}else{ %><%=group_.price%><%} %>"/>
								</div>
							</div>
						</td>
					  </tr>
				</tbody>
				<tbody class="pBox bgGray group_<%=group_.group_id%>" style="display:none">
			 <% _.each(group_.member,function(item){%>
					<%if(!item){%>
						
					
					
					<%}else{ %>
					
					  <tr>
						<td class="ltTxt">
						
							<span class="colorBlue"><%=item.dname%></span>
							<span>（<%=item.account%>）</span>
						</td>
					  </tr>
					
					<% } %>
			  <% }) %>
			  </tbody>
         <% }else{ %>       
                <tbody>
					 <tr>
						<td>
							<div class="tdLine">
								<span>未分组</span>
							</div>
						</td>
					  </tr>
                </tbody>
				
					<tbody class="pBox_">
					<% _.each(group_.member,function(item){ %>
					<%if(!item){%>
						
					
					
					<%}else{ %>
					
						  <tr>
							<td class="w805">
								<div class="tdLine">
									<div class="w500">
										<span class="colorBlue"><%=item.dname%></span>
										<span>（<%=item.account%>）</span>
									</div>
									<div class="rtCon">
										<input class="ui-textInp ui-radius shadow w80 ml5 rd did_select" type="text" pa="1" did="<%=item.id%>" group_id="<%=group_.group_id%>" js="<%if(item.allow==false){%>-1<%}else{ %><%=item.price%><%} %>" value="<%if(item.allow==true){%><%=item.price%><% } %>"/>
									</div>
								</div>
							</td>
						  </tr>
						
					
					<% } %>
					 <%}) %>
					 </tbody>
			<% } %>
	<% }) %>
</script>